package com.example.aigc_education.service;

import com.example.aigc_education.domain.request.ChatAiContentRequest;
import com.example.aigc_education.integration.request.ChatMessageRequest;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

public interface AlgoService {

    /**
     * AI对话
     * @param request 对话内容
     */
    ChatMessageRequest chat(ChatAiContentRequest request);

    /**
     * 连接
     * @return SseEmitter
     */
    SseEmitter connect(Long messageId);


}
